r
Starting program: /media/Environ/Compile/rocksndiamonds-4.1.4.1/rocksndiamonds 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe37ec700 (LWP 4631)]
[New Thread 0x7fffe37ab700 (LWP 4632)]
[New Thread 0x7fffe1905700 (LWP 4635)]
rocksndiamonds: frame delay == 0 ms (maximum speed)
rocksndiamonds: frame delay == 125 ms (max. 8 fps / 16 %)
rocksndiamonds: frame delay == 0 ms (maximum speed)
rocksndiamonds: frame delay == 0 ms (maximum speed)
rocksndiamonds: frame delay == 60 ms (max. 16 fps / 33 %)
rocksndiamonds: frame delay == 125 ms (max. 8 fps / 16 %)
rocksndiamonds: warning: getKeyFromKeyName(): not completely implemented
rocksndiamonds: frame delay == 0 ms (maximum speed)
rocksndiamonds: frame delay == 40 ms (max. 25 fps / 50 %)
rocksndiamonds: frame delay == 40 ms (max. 25 fps / 50 %)
rocksndiamonds: frame delay == 125 ms (max. 8 fps / 16 %)
rocksndiamonds: frame delay == 125 ms (max. 8 fps / 16 %)
rocksndiamonds: frame delay == 0 ms (maximum speed)
rocksndiamonds: frame delay == 125 ms (max. 8 fps / 16 %)
corrupted size vs. prev_size in fastbins

Thread 1 "rocksndiamonds" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff78a2535 in __GI_abort () at abort.c:79
#2  0x00007ffff78f9508 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff7a0428d "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007ffff78ffc1a in malloc_printerr (str=str@entry=0x7ffff7a05b98 "corrupted size vs. prev_size in fastbins") at malloc.c:5341
#4  0x00007ffff78ffe84 in malloc_consolidate (av=av@entry=0x7ffff7a3bc40 <main_arena>) at malloc.c:4487
#5  0x00007ffff7902a58 in _int_malloc (av=av@entry=0x7ffff7a3bc40 <main_arena>, bytes=bytes@entry=4096) at malloc.c:3695
#6  0x00007ffff790456a in __GI___libc_malloc (bytes=4096) at malloc.c:3057
#7  0x00007ffff78ef71c in __GI__IO_file_doallocate (fp=0x555558ab5410) at filedoalloc.c:101
#8  0x00007ffff78fd700 in __GI__IO_doallocbuf (fp=fp@entry=0x555558ab5410) at libioP.h:839
#9  0x00007ffff78fc988 in _IO_new_file_overflow (f=0x555558ab5410, ch=-1) at fileops.c:752
#10 0x00007ffff78fba8f in _IO_new_file_xsputn (n=37, data=<optimized out>, f=0x555558ab5410) at libioP.h:839
#11 _IO_new_file_xsputn (f=0x555558ab5410, data=<optimized out>, n=37) at fileops.c:1204
#12 0x00007ffff78d01fb in _IO_vfprintf_internal (s=0x555558ab5410, format=0x5555557ce8b7 "%s\n\n", ap=ap@entry=0x7fffffffd790) at ../libio/libioP.h:839
#13 0x00007ffff78d8534 in __fprintf (stream=<optimized out>, format=<optimized out>) at fprintf.c:32
#14 0x00005555556e334b in SaveScore (nr=14) at files.c:8337
#15 0x0000555555687a0e in NewHiScore (level_nr=14) at game.c:4862
#16 0x0000555555687745 in GameEnd () at game.c:4785
#17 0x000055555568761d in GameWon () at game.c:4722
#18 0x00005555556a7dbd in GameActionsExt () at game.c:11371
#19 0x00005555556a8485 in GameActions () at game.c:11625
#20 0x000055555567c8b9 in HandleGameActions () at screens.c:8369
#21 0x0000555555646d83 in EventLoop () at events.c:359
#22 0x000055555563a1ca in main (argc=1, argv=0x7fffffffdac8) at main.c:7762
(gdb) # just finished a level
(gdb) 
(gdb) # for the fist time
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) n
Program not restarted.
(gdb) # I don't think I got a prompt to save, not sure?
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /media/Environ/Compile/rocksndiamonds-4.1.4.1/rocksndiamonds 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe37ec700 (LWP 11451)]
[New Thread 0x7fffe37ab700 (LWP 11452)]
[New Thread 0x7fffe1906700 (LWP 11453)]
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
[Thread 0x7fffe37ab700 (LWP 11452) exited]
[Thread 0x7fffe37ec700 (LWP 11451) exited]
[Thread 0x7fffe1906700 (LWP 11453) exited]
[Inferior 1 (process 11447) exited normally]
(gdb) 
(gdb) # It changed level completion color, tape was bad / had me die, no high score added
(gdb) r
Starting program: /media/Environ/Compile/rocksndiamonds-4.1.4.1/rocksndiamonds 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe37ec700 (LWP 11731)]
[New Thread 0x7fffe37ab700 (LWP 11732)]
[New Thread 0x7fffe1906700 (LWP 11733)]
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: frame delay == 40 ms (max. 25 fps / 50 %)
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: frame delay == 40 ms (max. 25 fps / 50 %)
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: frame delay == 30 ms (max. 33 fps / 66 %)
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: frame delay == 40 ms (max. 25 fps / 50 %)
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
rocksndiamonds: frame delay == 125 ms (max. 8 fps / 16 %)
rocksndiamonds: warning: unknown format of score file '/home/bryan/.rocksndiamonds/scores/rnd_kjell_kristiansson/014.score'
free(): double free detected in tcache 2

Thread 1 "rocksndiamonds" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) # Just finished a level for the 1st time, stuck on high score screen with new score
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff78a2535 in __GI_abort () at abort.c:79
#2  0x00007ffff78f9508 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff7a0428d "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007ffff78ffc1a in malloc_printerr (str=str@entry=0x7ffff7a05f58 "free(): double free detected in tcache 2") at malloc.c:5341
#4  0x00007ffff79016fd in _int_free (av=0x7ffff7a3bc40 <main_arena>, p=0x555559a4cf70, have_lock=<optimized out>) at malloc.c:4193
#5  0x0000555555713b28 in checked_free (ptr=0x555559a4cf80) at misc.c:1275
#6  0x0000555555708809 in setLevelArtworkDir (ti=0x555558be9c00) at setup.c:398
#7  0x0000555555645972 in CheckArtworkTypeForRedefinedCustomElements (type=2) at init.c:5758
#8  0x0000555555645a50 in InitOverrideArtwork () at init.c:5814
#9  0x0000555555645d9e in ReloadCustomArtwork (force_reload=0) at init.c:5925
#10 0x00005555556628b0 in DrawMainMenu () at screens.c:1596
#11 0x000055555566f835 in HandleHallOfFame (mx=0, my=0, dx=0, dy=0, button=0) at screens.c:4747
#12 0x000055555564a794 in HandleKey (key=13, key_status=1) at events.c:2314
#13 0x0000555555648c63 in HandleKeyEvent (event=0x7fffffffd970) at events.c:1462
#14 0x0000555555646b84 in HandleEvents () at events.c:249
#15 0x0000555555646d67 in EventLoop () at events.c:348
#16 0x000055555563a1ca in main (argc=1, argv=0x7fffffffdac8) at main.c:7762
(gdb) # # Just finished a level for the 1st time, stuck on high score screen with new score # usually I put these below the backtrace, the above was from this one.
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /media/Environ/Compile/rocksndiamonds-4.1.4.1/rocksndiamonds 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe37ec700 (LWP 14499)]
[New Thread 0x7fffe37ab700 (LWP 14500)]
[New Thread 0x7fffe1906700 (LWP 14503)]
[Thread 0x7fffe37ab700 (LWP 14500) exited]
[Thread 0x7fffe37ec700 (LWP 14499) exited]
[Thread 0x7fffe1906700 (LWP 14503) exited]
[Inferior 1 (process 14497) exited normally]
(gdb) # above had bad tape, level completion color changed, high score saved
